package com.gitee.huanminabc.utils_common.enums;

import com.baomidou.mybatisplus.annotation.IEnum;
import lombok.Getter;

/**
 * 描述：状态
 */
@Getter
public enum StatusEnum implements IEnum<String> {

    NORMAL("正常"),
    DISABLE("禁用");

    private final String desc;

    StatusEnum(final String desc) {
        this.desc = desc;
    }

    @Override
    public String getValue() { //用于mybatis-plus 实体类中的枚举类型字段映射
        return this.desc;
    }
}
